/**
 * UI3.0导入控件页面控制类.
 * author zhengxianwei@ygsoft.com
 * date 20160920
*/
require(['jquery','ecp.service','ecp.utils',"ecp.component.ImportResult","ecp.component.import"] ,function($, ecp, utils,importRes) {
	$("#btn").click(function(){
		var imp = $("body").ecpImport().doImport({
			callback:function(result){
				utils.notify("测试成功。")
			},
			classId:"gris.ywdj",//必填项
			typeId: "257913",//必填项
			scenceId: "",//场景ID
			maxSize: "",//默认10
			extName: "",//扩展名默认et,xls,xlsx
			autoShow: true,
			entityImport:true
		});
	})
	$("#resBtn").click(function(){
		importRes.showImportResult();
	})
})
